gita

“karmanye vadhikaraste ma phaleshu kadachana

ma karmaphalaheturbhurma te sangostvakarmani”

“You have the right to work only but never to its fruit;.

Let not the fruits of action be your motive, nor let your attachment be to inaction.”

—quoted to Kr̥ṣṇa, Bhagavad Gītā 2.47